package com.ruoyi.by.health.service.impl;

import com.ruoyi.by.health.domain.entity.ByhealthEmpVoteLog;
import com.ruoyi.by.health.mapper.ByhealthEmpVoteLogMapper;
import com.ruoyi.by.health.service.IByhealthEmpVoteLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class ByhealthEmpVoteLogServiceImpl implements IByhealthEmpVoteLogService {

    @Autowired
    private ByhealthEmpVoteLogMapper byhealthEmpVoteLogMapper;

    @Async
    @Override
    public void insertEmpVoteLog(ByhealthEmpVoteLog empVoteLog) {
        byhealthEmpVoteLogMapper.insert(empVoteLog);
    }
}
